Drop a Line

Chinook Winds Casino

While working for Gravitate Design Chinook Winds Casino had reported their weather widget on their site was not working. It was using a deprecated API from Yahoo to power the widget.

I was able to solve the problem by combining the use of two different API’s to generate the current weather and also the forecast. I wrote PHP scripts to call to the API’s from the server-side every 12 hours and write the data to a JSON file, this was done to prevent overloading the API with client-side requests every time the website was loaded. The JSON file would then be used to display the data on the weather widget. It also required reconfiguring the icons that represented the data.

Chinook Winds weather widget expanded and displaying data from JSON file.